exports.dynamicDetail = function (req, res) {

    //查询新闻详情信息
    db.where({"n_id":req.query.id}).select("ed_news",function(rs){
        
        if(rs == 'ERROR'){
            console.log("数据查询失败");  
        }

        var newsDetail = rs[0];

        Render.viewRender(req,res,'dynamicDetail',{title:"动态详情",newsData:newsDetail})

    })

    

}